<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-incomePro-edit" th:object="${incomePro}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
            <div class="form-group">	
                <label class="col-sm-3 control-label">项目编号：</label>
                <div class="col-sm-8">
                    <input id="proSn" name="proSn" th:field="*{proSn}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">项目名称：</label>
                <div class="col-sm-8">
                    <input id="proName" name="proName" th:field="*{proName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">订单编号：</label>
                <div class="col-sm-8">
                    <input id="ctrSn" name="ctrSn" th:field="*{ctrSn}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">订单人员级别：</label>
                <div class="col-sm-8">
                    <input id="ctrLevel" name="ctrLevel" th:field="*{ctrLevel}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">订单人月数：</label>
                <div class="col-sm-8">
                    <input id="ctrPmons" name="ctrPmons" th:field="*{ctrPmons}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">订单人员单价：</label>
                <div class="col-sm-8">
                    <input id="ctrUnp" name="ctrUnp" th:field="*{ctrUnp}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">订单金额：</label>
                <div class="col-sm-8">
                    <input id="ctrTotal" name="ctrTotal" th:field="*{ctrTotal}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">累计到上月人月数：</label>
                <div class="col-sm-8">
                    <input id="wlLastPmons" name="wlLastPmons" th:field="*{wlLastPmons}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">累计到本月人月数：</label>
                <div class="col-sm-8">
                    <input id="wlPmons" name="wlPmons" th:field="*{wlPmons}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">累计到上月金额：</label>
                <div class="col-sm-8">
                    <input id="wlLastTotal" name="wlLastTotal" th:field="*{wlLastTotal}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">累计到本月金额：</label>
                <div class="col-sm-8">
                    <input id="wlTotal" name="wlTotal" th:field="*{wlTotal}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">本月上报人月数：</label>
                <div class="col-sm-8">
                    <input id="wlCurrPmons" name="wlCurrPmons" th:field="*{wlCurrPmons}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">本月上报金额：</label>
                <div class="col-sm-8">
                    <input id="wlCurrTotal" name="wlCurrTotal" th:field="*{wlCurrTotal}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">年月：</label>
                <div class="col-sm-8">
                    <input id="wlYm" name="wlYm" th:field="*{wlYm}" class="form-control" type="text">
                </div>
            </div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "pm/incomePro"
		$("#form-incomePro-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-incomePro-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
